﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="4.aspx.cs" Inherits="KPIS.GERP.GHRMS.APP.App_UI.Forms._4" %>
<%@ Register src="../Controls/DatePicker.ascx" tagname="DatePicker" tagprefix="uc2" %> 

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>รายละเอียดการเพิ่มงาน</title>
    <link href="Styles/StyleSheet.css" rel="stylesheet" type="text/css" />
    <script src="../../Scripts/DatePicker.js" type="text/javascript"></script>
    <script src="../../Scripts/jquery.datepick-th.js" type="text/javascript"></script>
    <script src="../../Scripts/Common.js" type="text/javascript"></script>
    <script src="../../Scripts/jsfunction.js" type="text/javascript"></script>
</head>
<body>
    <form id="form1" runat="server">
        <telerik:RadScriptManager ID="RadScriptManager1" runat="server">
        </telerik:RadScriptManager>
         <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">
              <AjaxSettings>
                   <telerik:AjaxSetting>
                       <UpdatedControls>
                           <telerik:AjaxUpdatedControl />
                       </UpdatedControls>
                   </telerik:AjaxSetting>
              </AjaxSettings>
         </telerik:RadAjaxManager>
           <telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" runat="server" BackgroundPosition="None">
           </telerik:RadAjaxLoadingPanel>
         
          <asp:Panel runat="server" ID="PanelCommand">
            <div class="DivInfo " style="height: 22px; width:1400px;  position:fixed; top:0; left:0; margin-bottom:0px; ">
                <asp:LinkButton Font-Underline="False" Font-Weight="Bold" ID="AddNew" runat="server">
                    <img style="border:0px;vertical-align:middle;" alt="" src="../Images/Buttons/AddRecord.gif" />&nbsp;&nbsp;เพิ่มงาน
                </asp:LinkButton>
            </div>
        </asp:Panel>
        <asp:Panel ID="Panel1" runat="server">
             <telerik:RadGrid GroupingSettings-CaseSensitive="false" ID="xxx22" runat="server"
                        AllowFilteringByColumn="true" AllowMultiRowSelection="true" 
                        AllowPaging="true" AllowSorting="true"
                        AutoGenerateColumns="false" PageSize="10" 
                        OnNeedDataSource="dtgKpiCtrl_NeedDataSource" 
                        OnItemCommand="dtgKpiCtrl_ItemCommand" style="margin-bottom: 0px">
             <MasterTableView AllowMultiColumnSorting="true" DataKeyNames="xxx" ClientDataKeyNames="xxx" Width="100%">
                 <PagerStyle Mode="NextPrevAndNumeric" />
                 <Columns>
                    <telerik:GridButtonColumn HeaderText="แก้ไข" ImageUrl="../Images/Buttons/Edit.gif" ButtonType="ImageButton" CommandName="GridEdit">
                        <HeaderStyle Width="30px" />
                    </telerik:GridButtonColumn>
                    <telerik:GridButtonColumn HeaderText="ยกเลิก" ImageUrl="../Images/Buttons/Cancle.gif" ButtonType="ImageButton" CommandName="GridCancle">
                        <HeaderStyle Width="40px" />
                    </telerik:GridButtonColumn>
                    <telerik:GridBoundColumn HeaderText="หัวข้องาน" DataField="" UniqueName=""
                         ShowFilterIcon="false" CurrentFilterFunction="Contains" AutoPostBackOnFilter="true" FilterControlWidth="100%">
                        <HeaderStyle Width="190px" />
                    </telerik:GridBoundColumn>
                    <telerik:GridBoundColumn HeaderText="วันที่เริ่มต้น" DataField="" UniqueName=""
                         ShowFilterIcon="false" CurrentFilterFunction="Contains" AutoPostBackOnFilter="true" FilterControlWidth="100%">
                    </telerik:GridBoundColumn>
                    <telerik:GridBoundColumn HeaderText="วันที่สิ้นสุด" DataField="" UniqueName=""
                         ShowFilterIcon="false" CurrentFilterFunction="Contains" AutoPostBackOnFilter="true" FilterControlWidth="100%">
                        <HeaderStyle Width="90px" />
                    </telerik:GridBoundColumn>
                    <telerik:GridBoundColumn HeaderText="ผู้มอบหมายงาน" DataField="" UniqueName=""
                         ShowFilterIcon="false" CurrentFilterFunction="Contains" AutoPostBackOnFilter="true" FilterControlWidth="100%">
                        <HeaderStyle Width="250px" />
                    </telerik:GridBoundColumn>
                    <telerik:GridBoundColumn HeaderText="สถานะ" DataField="" UniqueName=""
                         ShowFilterIcon="false" CurrentFilterFunction="Contains" AutoPostBackOnFilter="true" FilterControlWidth="100%">
                        <HeaderStyle Width="200px" />
                    </telerik:GridBoundColumn>
                 </Columns>
             </MasterTableView>
             <ClientSettings>
                 <Selecting AllowRowSelect="True">
                 </Selecting>
             </ClientSettings>   
             </telerik:RadGrid>             
        </asp:Panel>
        <asp:Panel ID="Panel2" runat="server">
            <table>
                <tr align="left" valign="top" bgcolor="#7DA5E0" style="padding: 5px; color: #FFFFFF; font-weight: bold; 
                     font-family: 'Segoe UI'; font-size: 13px;">
                    <td colspan="2">สมรรถนะหลัก</td>
                </tr>
                <tr>
                    <td>หัวข้องาน :</td>
                    <td>
                        <telerik:RadComboBox ID="RadComboBox1" runat="server" DataValueField=""
                                    DataTextField=""  Filter="Contains"  
                                    EmptyMessage="-----" HighlightTemplatedItems="true">
                        </telerik:RadComboBox>
                     </td>
                </tr>
                <tr>
                    <td>รายละเอียดงาน :</td>
                    <td>
                        <asp:TextBox ID="TextBox1" runat="server" TextMode="MultiLine" Width="450px" Height="90px">
                        </asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td>ระดับสมรรถนะ :</td>
                    <td>
                        <telerik:RadComboBox ID="RadComboBox2" runat="server" DataValueField=""
                                    DataTextField=""  Filter="Contains"  
                                    EmptyMessage="-----" HighlightTemplatedItems="true">
                        </telerik:RadComboBox>
                    </td>
                </tr>
                <tr>
                    <td width="90px">วันที่ดำเนินงาน :</td>
                    <td>
                        <uc2:DatePicker ID="txtDateDefined" runat="server" /> 
                    </td>
                </tr>
                <tr>
                    <td >วันที่สิ้นสุด :</td>
                    <td>
                        <uc2:DatePicker ID="DatePicker1" runat="server" /> 
                    </td>
                </tr>
                <tr>
                    <td>ผู้มอบหมายงาน :</td>
                    <td>
                        <telerik:RadComboBox ID="RadComboBox3" runat="server" DataValueField=""
                                    DataTextField=""  Filter="Contains"  
                                    EmptyMessage="-----" HighlightTemplatedItems="true">
                        </telerik:RadComboBox>
                    </td>
                </tr>
                <tr>
                    <td>สถานะ :</td>
                    <td>
                        <telerik:RadComboBox ID="RadComboBox4" runat="server" DataValueField=""
                                    DataTextField=""  Filter="Contains"  
                                    EmptyMessage="-----" HighlightTemplatedItems="true">
                        </telerik:RadComboBox>
                    </td>
                </tr>
                <tr>
                    <td colspan="2" align="center">
                        <asp:Button  ID="btnSubmit" runat="server" Text="ตกลง"/>
                        <asp:Button ID="btnCancle" runat="server" Text="ยกเลิก"/>
                    </td>
                </tr>
            </table>
        </asp:Panel>
    </form>
</body>
</html>
